/*

@description: 冷链服务（style）

@author: 赖赖

@update: 2021年9月6日15:23:48

*/
main h1 {
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
  color: #0391f4;
  font-size: 34px;
}
main ul {
  display: flex;
  justify-content: space-around;
  width: 1200px;
  margin: auto;
}
main .cpfw {
  height: 440px;
  background: url('https://www.jdl.cn/_nuxt/img/cold_chain_banner_bg.f6afee4.png');
}
main .cpfw hgroup {
  width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main .cpfw hgroup h2 {
  margin-top: 110px;
  font-size: 45px;
  color: #fafafa;
}
main .cpfw hgroup p {
  width: 466px;
  margin-top: 35px;
  font-size: 16px;
  color: #fafafa;
  text-align: justify;
  line-height: 25px;
}
main .ys {
  height: 450px;
  background: #f7f7f7;
}
main .ys ul li {
  width: 290px;
  height: 300px;
  background: #0070c0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .ys ul li img {
  width: 80px;
  height: 80px;
  background-size: cover;
}
main .ys ul li h2 {
  font-size: 24px;
  color: #fafafa;
  padding-top: 20px;
  padding-bottom: 24px;
}
main .ys ul li h3 {
  font-size: 14px;
  color: #fafafa;
}
main .sx ul {
  width: 1200px;
  height: 545px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: space-between;
}
main .sx ul li {
  width: 380px;
  height: 245px;
  position: relative;
}
main .sx ul li .yl {
  width: 0;
  height: 100%;
  position: absolute;
  left: 0;
  opacity: 0;
  background-color: #0070c0;
  transition: all 0.5s ease;
}
main .sx ul li .yl h3 {
  width: 300px;
  font-size: 28px;
  color: #ffffff;
  position: absolute;
  top: 68px;
  left: 110px;
  transition: all 0.5s;
}
main .sx ul li .yl p {
  width: 300px;
  color: #ffffff;
  text-align: justify;
  position: absolute;
  top: 118px;
  left: 20px;
  transition: all 0.5s;
}
main .sx ul li hgroup {
  width: 170px;
  height: 116px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  box-sizing: border-box;
}
main .sx ul li hgroup .bt {
  width: 166px;
  display: flex;
  justify-content: space-between;
}
main .sx ul li hgroup .bt h5 {
  width: 20px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
}
main .sx ul li hgroup .bt h4 {
  transform: translateY(-20px);
  font-size: 28px;
  color: #0096fa;
}
main .sx ul li hgroup h6 {
  transform: translateY(-10px);
  text-align: center;
  font-size: 16px;
  color: #ffffff;
  line-height: 24px;
}
main .sx ul li:hover > .yl {
  width: 100%;
  opacity: 1;
}
main .sx ul li:hover h3 {
  left: 132px;
}
main .sx ul li:hover p {
  left: 38px;
}
main .sx ul li:hover > hgroup {
  opacity: 0;
}
main .yy {
  height: 700px;
  background: url('https://www.jdl.cn/_nuxt/img/cold_medicine_bg5.5de0106.jpg');
  background-size: cover;
}
main .yy ul {
  width: 1200px;
  height: 545px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: space-between;
}
main .yy ul li {
  width: 590px;
  height: 230px;
  position: relative;
}
main .yy ul li .yl {
  width: 0;
  height: 100%;
  position: absolute;
  left: 0;
  opacity: 0;
  background-color: #0070c0;
  transition: all 0.5s ease;
}
main .yy ul li .yl h3 {
  width: 300px;
  font-size: 28px;
  color: #ffffff;
  position: absolute;
  top: 40px;
  left: 110px;
  transition: all 0.5s;
}
main .yy ul li .yl p {
  width: 394px;
  color: #ffffff;
  text-align: justify;
  position: absolute;
  top: 92px;
  left: 20px;
  transition: all 0.5s;
}
main .yy ul li hgroup {
  width: 418px;
  height: 130px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  box-sizing: border-box;
}
main .yy ul li hgroup .bt {
  display: flex;
  justify-content: space-between;
}
main .yy ul li hgroup .bt h5 {
  width: 130px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
}
main .yy ul li hgroup .bt h4 {
  transform: translateY(-20px);
  font-size: 28px;
  color: #0096fa;
}
main .yy ul li hgroup h6 {
  transform: translateY(-10px);
  text-align: center;
  font-size: 16px;
  color: #ffffff;
  line-height: 22px;
}
main .yy ul li:hover > .yl {
  width: 100%;
  opacity: 1;
}
main .yy ul li:hover h3 {
  left: 240px;
}
main .yy ul li:hover p {
  left: 70px;
}
main .yy ul li:hover > hgroup {
  opacity: 0;
}
